@isTest
private class TestCaseEscalator {

    static testMethod void testBatchJob() {
    	
    	/*Creating Test Data*/
    	Lead testLead = TestDatabaseCMS.createLeadForTesting();
    	West_Case_Names__c testCaseNames = TestDatabaseCMS.createWestCaseNames();
    	
    	String caseRecordType = Schema.Sobjecttype.Case.getRecordTypeInfosByName().get('West - Support').getRecordTypeId();
		Case testCase = new Case(RecordTypeId=caseRecordType,Subject='TestCase1',Description='TestDesc',lead__c=testLead.Id,Case_Name__c='Academic Probation');
		insert testCase;
		
		Case testClosedCase = new Case( RecordTypeId=caseRecordType,Subject='TestCase1',Description='TestDesc',lead__c=testLead.Id,Case_Name__c='Academic Probation');
		insert testClosedCase;
		testClosedCase.Status='Closed';
		testClosedCase.Manual_status_change__c = true;
		update testClosedCase;
		
		/*Testing*/
		Database.executeBatch(new CaseEscalator(),2000);
        
    }
}